#ifndef BOOKSERVICE_H
#define BOOKSERVICE_H

// 头文件：bookService.h
#include <QString>
#include <QMap>
#include "abstractdao.h"

class bookService
{
private:
    abstractDAO *bookRepository;
    abstractDAO *userBookRepository;
public:
    bookService();
    QString addBook(QMap<QString, QString>);
    QString borrowBook(QMap<QString, QString>);
    QString returnBook(QMap<QString, QString>);
    QString deleteBook(QMap<QString, QString>);
    QString searchBook(QMap<QString, QString>);
    QString subscribeBook(QMap<QString, QString>);
};

#endif // BOOKSERVICE_H
